package main

import (
	"github.com/gin-gonic/gin"
	"zg4week2/appconfig"
	"zg4week2/ess"
	"zg4week2/model/mysql"
	"zg4week2/model/redis"
	"zg4week2/router"
)

func init() {
	appconfig.AppInit()
	mysql.MysqlApp()
	redis.RedisApp()
	es.Es()
	es.EsVideo("我")
}
func main() {
	r := gin.Default()
	router.Router(r)
	r.Run(":9999")
}
